<?php
$tdatacertificate_of_origin_commercials=array();
	$tdatacertificate_of_origin_commercials[".NumberOfChars"]=80; 
	$tdatacertificate_of_origin_commercials[".ShortName"]="certificate_of_origin_commercials";
	$tdatacertificate_of_origin_commercials[".OwnerID"]="";
	$tdatacertificate_of_origin_commercials[".OriginalTable"]="certificate_of_origin_commercials";


	
//	field labels
$fieldLabelscertificate_of_origin_commercials = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelscertificate_of_origin_commercials["English"]=array();
	$fieldToolTipscertificate_of_origin_commercials["English"]=array();
	$fieldLabelscertificate_of_origin_commercials["English"]["id"] = "Id";
	$fieldToolTipscertificate_of_origin_commercials["English"]["id"] = "";
	$fieldLabelscertificate_of_origin_commercials["English"]["buyer_id"] = "Buyer";
	$fieldToolTipscertificate_of_origin_commercials["English"]["buyer_id"] = "";
	$fieldLabelscertificate_of_origin_commercials["English"]["account_id"] = "Account";
	$fieldToolTipscertificate_of_origin_commercials["English"]["account_id"] = "";
	$fieldLabelscertificate_of_origin_commercials["English"]["shipped_on"] = "Shipped On";
	$fieldToolTipscertificate_of_origin_commercials["English"]["shipped_on"] = "";
	$fieldLabelscertificate_of_origin_commercials["English"]["shipment_date"] = "Shipment Date";
	$fieldToolTipscertificate_of_origin_commercials["English"]["shipment_date"] = "";
	$fieldLabelscertificate_of_origin_commercials["English"]["consigned_to"] = "Consigned To";
	$fieldToolTipscertificate_of_origin_commercials["English"]["consigned_to"] = "";
	$fieldLabelscertificate_of_origin_commercials["English"]["sworn_to"] = "Sworn To";
	$fieldToolTipscertificate_of_origin_commercials["English"]["sworn_to"] = "";
	$fieldLabelscertificate_of_origin_commercials["English"]["sworn_date"] = "Sworn Date";
	$fieldToolTipscertificate_of_origin_commercials["English"]["sworn_date"] = "";
	$fieldLabelscertificate_of_origin_commercials["English"]["chamber_of_commerce"] = "Chamber Of Commerce";
	$fieldToolTipscertificate_of_origin_commercials["English"]["chamber_of_commerce"] = "";
	$fieldLabelscertificate_of_origin_commercials["English"]["ref_id"] = "Ref Id";
	$fieldToolTipscertificate_of_origin_commercials["English"]["ref_id"] = "";
	if (count($fieldToolTipscertificate_of_origin_commercials["English"])){
		$tdatacertificate_of_origin_commercials[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Hong Kong S.A.R.)")
{
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]=array();
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]=array();
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["id"] = "Id";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["id"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["buyer_id"] = "Buyer Id";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["buyer_id"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["account_id"] = "Account Id";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["account_id"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["shipped_on"] = "Shipped On";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["shipped_on"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["shipment_date"] = "Shipment Date";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["shipment_date"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["consigned_to"] = "Consigned To";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["consigned_to"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["sworn_to"] = "Sworn To";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["sworn_to"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["sworn_date"] = "Sworn Date";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["sworn_date"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["chamber_of_commerce"] = "Chamber Of Commerce";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["chamber_of_commerce"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["ref_id"] = "Ref Id";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"]["ref_id"] = "";
	if (count($fieldToolTipscertificate_of_origin_commercials["Chinese (Hong Kong S.A.R.)"])){
		$tdatacertificate_of_origin_commercials[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Taiwan)")
{
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]=array();
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]=array();
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["id"] = "Id";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["id"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["buyer_id"] = "Buyer Id";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["buyer_id"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["account_id"] = "Account Id";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["account_id"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["shipped_on"] = "Shipped On";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["shipped_on"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["shipment_date"] = "Shipment Date";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["shipment_date"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["consigned_to"] = "Consigned To";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["consigned_to"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["sworn_to"] = "Sworn To";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["sworn_to"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["sworn_date"] = "Sworn Date";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["sworn_date"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["chamber_of_commerce"] = "Chamber Of Commerce";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["chamber_of_commerce"] = "";
	$fieldLabelscertificate_of_origin_commercials["Chinese (Taiwan)"]["ref_id"] = "Ref Id";
	$fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"]["ref_id"] = "";
	if (count($fieldToolTipscertificate_of_origin_commercials["Chinese (Taiwan)"])){
		$tdatacertificate_of_origin_commercials[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="French")
{
	$fieldLabelscertificate_of_origin_commercials["French"]=array();
	$fieldToolTipscertificate_of_origin_commercials["French"]=array();
	$fieldLabelscertificate_of_origin_commercials["French"]["id"] = "Id";
	$fieldToolTipscertificate_of_origin_commercials["French"]["id"] = "";
	$fieldLabelscertificate_of_origin_commercials["French"]["buyer_id"] = "Buyer Id";
	$fieldToolTipscertificate_of_origin_commercials["French"]["buyer_id"] = "";
	$fieldLabelscertificate_of_origin_commercials["French"]["account_id"] = "Account Id";
	$fieldToolTipscertificate_of_origin_commercials["French"]["account_id"] = "";
	$fieldLabelscertificate_of_origin_commercials["French"]["shipped_on"] = "Shipped On";
	$fieldToolTipscertificate_of_origin_commercials["French"]["shipped_on"] = "";
	$fieldLabelscertificate_of_origin_commercials["French"]["shipment_date"] = "Shipment Date";
	$fieldToolTipscertificate_of_origin_commercials["French"]["shipment_date"] = "";
	$fieldLabelscertificate_of_origin_commercials["French"]["consigned_to"] = "Consigned To";
	$fieldToolTipscertificate_of_origin_commercials["French"]["consigned_to"] = "";
	$fieldLabelscertificate_of_origin_commercials["French"]["sworn_to"] = "Sworn To";
	$fieldToolTipscertificate_of_origin_commercials["French"]["sworn_to"] = "";
	$fieldLabelscertificate_of_origin_commercials["French"]["sworn_date"] = "Sworn Date";
	$fieldToolTipscertificate_of_origin_commercials["French"]["sworn_date"] = "";
	$fieldLabelscertificate_of_origin_commercials["French"]["chamber_of_commerce"] = "Chamber Of Commerce";
	$fieldToolTipscertificate_of_origin_commercials["French"]["chamber_of_commerce"] = "";
	$fieldLabelscertificate_of_origin_commercials["French"]["ref_id"] = "Ref Id";
	$fieldToolTipscertificate_of_origin_commercials["French"]["ref_id"] = "";
	if (count($fieldToolTipscertificate_of_origin_commercials["French"])){
		$tdatacertificate_of_origin_commercials[".isUseToolTips"]=true;
	}
}


	
	$tdatacertificate_of_origin_commercials[".NCSearch"]=true;

	

$tdatacertificate_of_origin_commercials[".shortTableName"] = "certificate_of_origin_commercials";
$tdatacertificate_of_origin_commercials[".nSecOptions"] = 0;
$tdatacertificate_of_origin_commercials[".recsPerRowList"] = 1;	
$tdatacertificate_of_origin_commercials[".tableGroupBy"] = "0";
$tdatacertificate_of_origin_commercials[".mainTableOwnerID"] = "";
$tdatacertificate_of_origin_commercials[".moveNext"] = 1;




$tdatacertificate_of_origin_commercials[".showAddInPopup"] = false;

$tdatacertificate_of_origin_commercials[".showEditInPopup"] = false;

$tdatacertificate_of_origin_commercials[".showViewInPopup"] = false;


$tdatacertificate_of_origin_commercials[".fieldsForRegister"] = array();

$tdatacertificate_of_origin_commercials[".listAjax"] = true;

	$tdatacertificate_of_origin_commercials[".audit"] = false;

	$tdatacertificate_of_origin_commercials[".locking"] = false;
	
$tdatacertificate_of_origin_commercials[".listIcons"] = true;
$tdatacertificate_of_origin_commercials[".edit"] = true;
$tdatacertificate_of_origin_commercials[".inlineEdit"] = true;
$tdatacertificate_of_origin_commercials[".copy"] = true;
$tdatacertificate_of_origin_commercials[".view"] = true;

$tdatacertificate_of_origin_commercials[".exportTo"] = true;

$tdatacertificate_of_origin_commercials[".printFriendly"] = true;

$tdatacertificate_of_origin_commercials[".delete"] = true;

$tdatacertificate_of_origin_commercials[".showSimpleSearchOptions"] = true;

$tdatacertificate_of_origin_commercials[".showSearchPanel"] = true;


$tdatacertificate_of_origin_commercials[".isUseAjaxSuggest"] = true;

$tdatacertificate_of_origin_commercials[".rowHighlite"] = true;


// button handlers file names

$tdatacertificate_of_origin_commercials[".addPageEvents"] = false;

$tdatacertificate_of_origin_commercials[".arrKeyFields"][] = "id";

// use datepicker for search panel
$tdatacertificate_of_origin_commercials[".isUseCalendarForSearch"] = true;

// use timepicker for search panel
$tdatacertificate_of_origin_commercials[".isUseTimeForSearch"] = false;

$tdatacertificate_of_origin_commercials[".isUseiBox"] = false;


$tdatacertificate_of_origin_commercials[".useDetailsPreview"] = true;	

$tdatacertificate_of_origin_commercials[".isUseInlineAdd"] = true;

$tdatacertificate_of_origin_commercials[".isUseInlineEdit"] = true;
$tdatacertificate_of_origin_commercials[".isUseInlineJs"] = $tdatacertificate_of_origin_commercials[".isUseInlineAdd"] || $tdatacertificate_of_origin_commercials[".isUseInlineEdit"];

$tdatacertificate_of_origin_commercials[".allSearchFields"] = array();

$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "id";	
}
$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "buyer_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("buyer_id", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "buyer_id";	
}
$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "account_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("account_id", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "account_id";	
}
$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "shipped_on";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipped_on", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "shipped_on";	
}
$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "shipment_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipment_date", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "shipment_date";	
}
$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "consigned_to";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("consigned_to", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "consigned_to";	
}
$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "sworn_to";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("sworn_to", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "sworn_to";	
}
$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "sworn_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("sworn_date", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "sworn_date";	
}
$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "chamber_of_commerce";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("chamber_of_commerce", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "chamber_of_commerce";	
}
$tdatacertificate_of_origin_commercials[".globSearchFields"][] = "ref_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("ref_id", $tdatacertificate_of_origin_commercials[".allSearchFields"]))
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "ref_id";	
}


$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "id";
$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "buyer_id";
$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "account_id";
$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "shipped_on";
$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "shipment_date";
$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "consigned_to";
$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "sworn_to";
$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "sworn_date";
$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "chamber_of_commerce";
$tdatacertificate_of_origin_commercials[".googleLikeFields"][] = "ref_id";



$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "id";	
}
$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "buyer_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("buyer_id", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "buyer_id";	
}
$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "account_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("account_id", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "account_id";	
}
$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "shipped_on";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipped_on", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "shipped_on";	
}
$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "shipment_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipment_date", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "shipment_date";	
}
$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "consigned_to";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("consigned_to", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "consigned_to";	
}
$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "sworn_to";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("sworn_to", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "sworn_to";	
}
$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "sworn_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("sworn_date", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "sworn_date";	
}
$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "chamber_of_commerce";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("chamber_of_commerce", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "chamber_of_commerce";	
}
$tdatacertificate_of_origin_commercials[".advSearchFields"][] = "ref_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("ref_id", $tdatacertificate_of_origin_commercials[".allSearchFields"])) 
{
	$tdatacertificate_of_origin_commercials[".allSearchFields"][] = "ref_id";	
}

$tdatacertificate_of_origin_commercials[".isTableType"] = "list";


	

$tdatacertificate_of_origin_commercials[".isDisplayLoading"] = true;

$tdatacertificate_of_origin_commercials[".isResizeColumns"] = false;

	$tdatacertificate_of_origin_commercials[".subQueriesSupAccess"] = true;




$tdatacertificate_of_origin_commercials[".pageSize"] = 20;

$gstrOrderBy = "";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdatacertificate_of_origin_commercials[".strOrderBy"] = $gstrOrderBy;
	
$tdatacertificate_of_origin_commercials[".orderindexes"] = array();

$tdatacertificate_of_origin_commercials[".sqlHead"] = "SELECT id,   buyer_id,   account_id,   shipped_on,   shipment_date,   consigned_to,   sworn_to,   sworn_date,   chamber_of_commerce,   ref_id";
$tdatacertificate_of_origin_commercials[".sqlFrom"] = "FROM certificate_of_origin_commercials";
$tdatacertificate_of_origin_commercials[".sqlWhereExpr"] = "";
$tdatacertificate_of_origin_commercials[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatacertificate_of_origin_commercials[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatacertificate_of_origin_commercials[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "id";
	$tdatacertificate_of_origin_commercials[".Keys"] = $tableKeys;

//	id
	$fdata = array();
	$fdata["strName"] = "id";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		$fdata["AutoInc"]=true;
	
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "id";
	
		$fdata["FullName"]= "id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["id"]=$fdata;
//	buyer_id
	$fdata = array();
	$fdata["strName"] = "buyer_id";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Buyer"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=1;
	$fdata["pLookupType"] = 1;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
										$fdata["LinkField"]="id";
	$fdata["LinkFieldType"]=3;
	$fdata["DisplayField"]="company_name";
				$fdata["LookupTable"]="companies";
	$fdata["LookupOrderBy"]="company_name";
							$fdata["LookupWhere"] = "category='Buyer'";
										$fdata["AllowToAdd"]=true; 
				
					
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "buyer_id";
	
		$fdata["FullName"]= "buyer_id";
	
		
		
		
		
		
				$fdata["Index"]= 2;
				
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["buyer_id"]=$fdata;
//	account_id
	$fdata = array();
	$fdata["strName"] = "account_id";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Account"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=1;
	$fdata["pLookupType"] = 1;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
										$fdata["LinkField"]="id";
	$fdata["LinkFieldType"]=3;
	$fdata["DisplayField"]="company_name";
				$fdata["LookupTable"]="companies";
	$fdata["LookupOrderBy"]="company_name";
							$fdata["LookupWhere"] = "category='Account'";
										$fdata["AllowToAdd"]=true; 
				
					
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "account_id";
	
		$fdata["FullName"]= "account_id";
	
		
		
		
		
		
				$fdata["Index"]= 3;
				
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["account_id"]=$fdata;
//	shipped_on
	$fdata = array();
	$fdata["strName"] = "shipped_on";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Shipped On"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "shipped_on";
	
		$fdata["FullName"]= "shipped_on";
	
		
		
		
		
		
				$fdata["Index"]= 4;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=255";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["shipped_on"]=$fdata;
//	shipment_date
	$fdata = array();
	$fdata["strName"] = "shipment_date";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Shipment Date"; 
	
		
		
	$fdata["FieldType"]= 7;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "shipment_date";
	
		$fdata["FullName"]= "shipment_date";
	
		
		
		
		
		
				$fdata["Index"]= 5;
		$fdata["DateEditType"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["shipment_date"]=$fdata;
//	consigned_to
	$fdata = array();
	$fdata["strName"] = "consigned_to";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Consigned To"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=1;
	$fdata["pLookupType"] = 1;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
										$fdata["LinkField"]="id";
	$fdata["LinkFieldType"]=3;
	$fdata["DisplayField"]="company_name";
				$fdata["LookupTable"]="companies";
	$fdata["LookupOrderBy"]="company_name";
							$fdata["LookupWhere"] = "category='Buyer'";
										$fdata["AllowToAdd"]=true; 
				
					
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "consigned_to";
	
		$fdata["FullName"]= "consigned_to";
	
		
		
		
		
		
				$fdata["Index"]= 6;
				
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["consigned_to"]=$fdata;
//	sworn_to
	$fdata = array();
	$fdata["strName"] = "sworn_to";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Sworn To"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "sworn_to";
	
		$fdata["FullName"]= "sworn_to";
	
		
		
		
		
		
				$fdata["Index"]= 7;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=255";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["sworn_to"]=$fdata;
//	sworn_date
	$fdata = array();
	$fdata["strName"] = "sworn_date";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Sworn Date"; 
	
		
		
	$fdata["FieldType"]= 7;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "sworn_date";
	
		$fdata["FullName"]= "sworn_date";
	
		
		
		
		
		
				$fdata["Index"]= 8;
		$fdata["DateEditType"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["sworn_date"]=$fdata;
//	chamber_of_commerce
	$fdata = array();
	$fdata["strName"] = "chamber_of_commerce";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Chamber Of Commerce"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "chamber_of_commerce";
	
		$fdata["FullName"]= "chamber_of_commerce";
	
		
		
		
		
		
				$fdata["Index"]= 9;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=255";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["chamber_of_commerce"]=$fdata;
//	ref_id
	$fdata = array();
	$fdata["strName"] = "ref_id";
	$fdata["ownerTable"] = "certificate_of_origin_commercials";
		$fdata["Label"]="Ref Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "ref_id";
	
		$fdata["FullName"]= "ref_id";
	
		
		
		
		
		
				$fdata["Index"]= 10;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatacertificate_of_origin_commercials["ref_id"]=$fdata;

	
$tables_data["certificate_of_origin_commercials"]=&$tdatacertificate_of_origin_commercials;
$field_labels["certificate_of_origin_commercials"] = &$fieldLabelscertificate_of_origin_commercials;
$fieldToolTips["certificate_of_origin_commercials"] = &$fieldToolTipscertificate_of_origin_commercials;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["certificate_of_origin_commercials"] = array();
$dIndex = 1-1;
			$strOriginalDetailsTable="certificate_of_origin_items";
	$detailsTablesData["certificate_of_origin_commercials"][$dIndex] = array(
		  "dDataSourceTable"=>"certificate_of_origin_items"
		, "dOriginalTable"=>$strOriginalDetailsTable
		, "dShortTable"=>"certificate_of_origin_items"
		, "masterKeys"=>array()
		, "detailKeys"=>array()
		, "dispChildCount"=> "1"
		, "hideChild"=>"0"
		, "sqlHead"=>"SELECT id,   commercial_id,   item_no,   marks_and_numbers,   no_of_packages,   gross_weight,   net_weight,   description"	
		, "sqlFrom"=>"FROM certificate_of_origin_items"	
		, "sqlWhere"=>""
		, "sqlTail"=>""
		, "groupBy"=>"0"
		, "previewOnList" => 1
		, "previewOnAdd" => 1
		, "previewOnEdit" => 1
		, "previewOnView" => 1
	);	
		$detailsTablesData["certificate_of_origin_commercials"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["certificate_of_origin_commercials"][$dIndex]["detailKeys"][]="commercial_id";


	
// tables which are master tables for current table (detail)
$masterTablesData["certificate_of_origin_commercials"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










$proto192=array();
$proto192["m_strHead"] = "SELECT";
$proto192["m_strFieldList"] = "id,   buyer_id,   account_id,   shipped_on,   shipment_date,   consigned_to,   sworn_to,   sworn_date,   chamber_of_commerce,   ref_id";
$proto192["m_strFrom"] = "FROM certificate_of_origin_commercials";
$proto192["m_strWhere"] = "";
$proto192["m_strOrderBy"] = "";
$proto192["m_strTail"] = "";
$proto193=array();
$proto193["m_sql"] = "";
$proto193["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto193["m_column"]=$obj;
$proto193["m_contained"] = array();
$proto193["m_strCase"] = "";
$proto193["m_havingmode"] = "0";
$proto193["m_inBrackets"] = "0";
$proto193["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto193);

$proto192["m_where"] = $obj;
$proto195=array();
$proto195["m_sql"] = "";
$proto195["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto195["m_column"]=$obj;
$proto195["m_contained"] = array();
$proto195["m_strCase"] = "";
$proto195["m_havingmode"] = "0";
$proto195["m_inBrackets"] = "0";
$proto195["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto195);

$proto192["m_having"] = $obj;
$proto192["m_fieldlist"] = array();
						$proto197=array();
			$obj = new SQLField(array(
	"m_strName" => "id",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto197["m_expr"]=$obj;
$proto197["m_alias"] = "";
$obj = new SQLFieldListItem($proto197);

$proto192["m_fieldlist"][]=$obj;
						$proto199=array();
			$obj = new SQLField(array(
	"m_strName" => "buyer_id",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto199["m_expr"]=$obj;
$proto199["m_alias"] = "";
$obj = new SQLFieldListItem($proto199);

$proto192["m_fieldlist"][]=$obj;
						$proto201=array();
			$obj = new SQLField(array(
	"m_strName" => "account_id",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto201["m_expr"]=$obj;
$proto201["m_alias"] = "";
$obj = new SQLFieldListItem($proto201);

$proto192["m_fieldlist"][]=$obj;
						$proto203=array();
			$obj = new SQLField(array(
	"m_strName" => "shipped_on",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto203["m_expr"]=$obj;
$proto203["m_alias"] = "";
$obj = new SQLFieldListItem($proto203);

$proto192["m_fieldlist"][]=$obj;
						$proto205=array();
			$obj = new SQLField(array(
	"m_strName" => "shipment_date",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto205["m_expr"]=$obj;
$proto205["m_alias"] = "";
$obj = new SQLFieldListItem($proto205);

$proto192["m_fieldlist"][]=$obj;
						$proto207=array();
			$obj = new SQLField(array(
	"m_strName" => "consigned_to",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto207["m_expr"]=$obj;
$proto207["m_alias"] = "";
$obj = new SQLFieldListItem($proto207);

$proto192["m_fieldlist"][]=$obj;
						$proto209=array();
			$obj = new SQLField(array(
	"m_strName" => "sworn_to",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto209["m_expr"]=$obj;
$proto209["m_alias"] = "";
$obj = new SQLFieldListItem($proto209);

$proto192["m_fieldlist"][]=$obj;
						$proto211=array();
			$obj = new SQLField(array(
	"m_strName" => "sworn_date",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto211["m_expr"]=$obj;
$proto211["m_alias"] = "";
$obj = new SQLFieldListItem($proto211);

$proto192["m_fieldlist"][]=$obj;
						$proto213=array();
			$obj = new SQLField(array(
	"m_strName" => "chamber_of_commerce",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto213["m_expr"]=$obj;
$proto213["m_alias"] = "";
$obj = new SQLFieldListItem($proto213);

$proto192["m_fieldlist"][]=$obj;
						$proto215=array();
			$obj = new SQLField(array(
	"m_strName" => "ref_id",
	"m_strTable" => "certificate_of_origin_commercials"
));

$proto215["m_expr"]=$obj;
$proto215["m_alias"] = "";
$obj = new SQLFieldListItem($proto215);

$proto192["m_fieldlist"][]=$obj;
$proto192["m_fromlist"] = array();
												$proto217=array();
$proto217["m_link"] = "SQLL_MAIN";
			$proto218=array();
$proto218["m_strName"] = "certificate_of_origin_commercials";
$proto218["m_columns"] = array();
$proto218["m_columns"][] = "id";
$proto218["m_columns"][] = "buyer_id";
$proto218["m_columns"][] = "account_id";
$proto218["m_columns"][] = "shipped_on";
$proto218["m_columns"][] = "shipment_date";
$proto218["m_columns"][] = "consigned_to";
$proto218["m_columns"][] = "sworn_to";
$proto218["m_columns"][] = "sworn_date";
$proto218["m_columns"][] = "chamber_of_commerce";
$proto218["m_columns"][] = "ref_id";
$obj = new SQLTable($proto218);

$proto217["m_table"] = $obj;
$proto217["m_alias"] = "";
$proto219=array();
$proto219["m_sql"] = "";
$proto219["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto219["m_column"]=$obj;
$proto219["m_contained"] = array();
$proto219["m_strCase"] = "";
$proto219["m_havingmode"] = "0";
$proto219["m_inBrackets"] = "0";
$proto219["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto219);

$proto217["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto217);

$proto192["m_fromlist"][]=$obj;
$proto192["m_groupby"] = array();
$proto192["m_orderby"] = array();
$obj = new SQLQuery($proto192);

$queryData_certificate_of_origin_commercials = $obj;
$tdatacertificate_of_origin_commercials[".sqlquery"] = $queryData_certificate_of_origin_commercials;

include(getabspath("include/certificate_of_origin_commercials_events.php"));
$tableEvents["certificate_of_origin_commercials"] = new eventclass_certificate_of_origin_commercials;

?>
